package yf.mall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import yf.mall.dao.GoodsQualificationDao;
import yf.mall.entity.GoodsQualificationEntity;
import yf.mall.service.GoodsQualificationService;
import com.yf.service.impl.BaseServiceImpl;

import java.util.List;

/**
 * 产品分类资质Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Jul 09 10:38:34 CST 2020
 */
@Service
public class GoodsQualificationServiceImpl extends BaseServiceImpl<GoodsQualificationEntity> implements GoodsQualificationService {

    private GoodsQualificationDao goodsQualificationDao;


    @Autowired
    public void setDao(GoodsQualificationDao goodsQualificationDao) {
        this.goodsQualificationDao = goodsQualificationDao;
        super.setBaseDao(goodsQualificationDao);
    }

    @Override
    public GoodsQualificationEntity findByGoodsId(Long goodsId) {
        return goodsQualificationDao.findByGoodsId(goodsId);
    }

    @Override
    public void deleteByGoodsIdBatch(Long[] ids) {
        goodsQualificationDao.deleteByGoodsIdBatch(ids);
    }


    /**
     *
     *   @Override
     *     public List<UserVo> queryListVo(UserVo userVo) {
     *         return userDao.queryListVo(userVo);
     *     }
     *
     *     @Override
     *     public UserVo getVo(Long id) {
     *         return userDao.getVo(id);
     *     }

     @Override
     List<GoodsQualificationVo> queryListVo(GoodsQualificationVo goodsQualificationVo){
            return goodsQualificationDao.queryListVo(goodsQualificationVo);
     }

     @Override
     GoodsQualificationVo getVo(Long id){
                return goodsQualificationDao.getVo(id);
    }

     **/


    /**内部方法**/



    /**外部方法实现**/



}
